package com.ruoyi.project.relation.mapper;

import java.util.List;
import com.ruoyi.project.relation.domain.BusinessRelation;
import com.ruoyi.project.relation.domain.qo.BusinessRelationQO;
import org.apache.ibatis.annotations.Update;

/**
 * 物料清单关联Mapper接口
 *
 * @author wb
 * @date 2021-03-28
 */
public interface BusinessRelationMapper
{


    /**
     * 精确查询物料清单关联列表,用于逻辑关联表处理
     *
     * @param businessRelationQO 物料清单关联
     * @return 物料清单关联集合
     */
    public List<BusinessRelation> exactQueryBusinessRelationList(BusinessRelationQO businessRelationQO);


    /**
     * 新增物料清单关联
     *
     * @param businessRelation 物料清单关联
     * @return 结果
     */
    public int insertBusinessRelation(BusinessRelation businessRelation);

    /**
     * 修改物料清单关联
     *
     * @param businessRelation 物料清单关联
     * @return 结果
     */
    public int updateBusinessRelation(BusinessRelation businessRelation);


    /**
     * 批量删除物料清单关联
     *
     * @param businessRelationQO 需要删除的数据ID
     * @return 结果
     */
    public int deleteBusinessRelationByBusinessRelationQO(BusinessRelationQO businessRelationQO);


}
